export default [
  {
    path: '/flow',
    name: 'flow',
    icon: 'crown',
    routes: [
      {
        path: './manager',
        name: 'manager',
        icon: 'crown',
        routes: [
          {
            path: './type',
            name: 'flow-type',
            component: './flow/type',
          },
          {
            path: './model',
            name: 'flow-model',
            component: './flow/model',
          },
          {
            path: './deploy',
            name: 'flow-deploy',
            component: './flow/deploy',
          },
          {
            path: './define',
            name: 'flow-define',
            component: './flow/define',
          },
          {
            path: './form-type',
            name: 'flow-form-type',
            component: './flow/formType',
          },
          {
            path: './form-list',
            name: 'flow-form-list',
            component: './flow/formList',
          },
          {
            path: './manage',
            name: 'flow-manage',
            component: './flow/manage',
          },
        ]
      },
      {
        path: '/flow/process',
        name: 'process',
        icon: 'crown',
        routes: [
          {
            path: './center',
            name: 'process-center',
            component: './process/center',
          },
          {
            path: './allapply',
            name: 'process-allapply',
            component: './process/allApply',
          },
          {
            path: './myapply',
            name: 'process-myapply',
            component: './process/myApply',
          },
          {
            path: './approval',
            name: 'process-approval',
            component: './process/approval',
          },
          {
            path: './wait-task',
            name: 'process-wait-task',
            component: './process/waitTask',
          },


        ],
      },

    ],
  },
]